package com.polaris.live.im.sfs.bean.live

import com.polaris.live.im.sfs.core.bean.AbstractMessage
import com.polaris.live.utils.CommonUtils

/**
 * LivePublicScreenMessage
 *
 * @author Created by 半仙 on 2023/10/8/008 17:04
 */
data class LivePublicScreenMessage(
    /**
     * 消息唯一id
     */
    override val msgId: String = CommonUtils.uuid(),
    /**
     * 主播id
     */
    val anchorId: Long,
    /**
     * 直播id
     */
    val liveId: Long,
    /**
     * 消息文本
     */
    val content: String,
    /**
     * at用户
     *     [
     *         {
     *             "userId":1,
     *             "nickname":"xxx"
     *         },
     *         {
     *             "userId":1,
     *             "nickname":"xxx"
     *         }
     *     ]
     */
    val atUsers: String,
    /**20241219
     * 类型 空位普通公屏 1弹幕消息
     */
    val type: Int? = null
) : AbstractMessage
